-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quotapool,kvserver: extend quotapool.RateLimit, rate limit queue addition in SystemConfigUpdate #53605
quotapool,kvserver: extend quotapool.RateLimit, rate limit queue addition in SystemConfigUpdate #53605
Conversation
6cfdfc4
to
1898ec9
Compare
Release justification: non-production code changes Release note: None
Release justification: low risk, high benefit changes to existing functionality Release note: None
Release justification: non-production code changes Release note: None
…replicas This has a shockingly profound impact on the runtime of ORM tests. This PR is a fancier implementation of cockroachdb#53603 that permits bursting and makes setting a relatively low rate feel less risky in the face of a small burst of changes. Release justification: low risk, high benefit changes to existing functionality Release note (performance improvement): Limited the frequency of an expensive operation due to schema changes making workload which perform schema changes at a high rate less resource intensive.
1898ec9
to
ab3f53d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just reviewed this and I feel rather comfortable by the functional correctness of the thing (i.e. I can't see it blocking unexpectedly)
Can you speak a bit more quantitatively about what motivated this change and the visible benefits?
Reviewed 2 of 2 files at r1, 2 of 2 files at r2.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @knz and @tbg)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r4.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @knz and @tbg)
Prior to this change, over 70% of the CPU utilization of the typeorm roachtest was underneath those calls. The change decreases the runtime of the Before:
After
|
this looks gorgeous! I'm LGTM on this |
TFTR! bors r=knz
Before:
After:
|
Build succeeded: |
See individual commits.
This PR is a fancier implementation of #53603 that permits bursting and makes
setting a relatively low rate feel less risky in the face of a small burst of
changes.
Release justification: low risk, high benefit changes to existing functionality
Release note (performance improvement): Limited the frequency of an expensive
operation due to schema changes making workload which perform schema changes
at a high rate less resource intensive.